var helpTipsComponent = React.createClass({
    componentDidMount: function() {
        $("#tipsMsg").css('display','none')
        $("#tips").hover(function () {
            $("#tipsMsg").css('display','block')

        },function () {
            $("#tipsMsg").css('display','none')
        })

    },
    receiveMsg: function(data) {

    },
    getInitialState: function () {
        return this.props ? this.props : {};
    },
    render:function() {
        var data = this.state.data;
        console.log(data,"data");

        var helpTips = (function () {
            var list=[];

            data.map(function(item) {
                list.push(<p>{item}</p>)
            });
            return list;

        })();

        return ~helpTips;

    }
});
module.exports = helpTipsComponent;
